﻿using System;
using System.Data;

namespace SingleSignOn.Interfaces
{
    public interface IBaseDB
    {
        /// <summary>
        /// Gets the command.
        /// </summary>
        /// <returns></returns>
        IDbCommand GetNewCommand();

        /// <summary>
        /// Gets the connection.
        /// </summary>
        /// <returns></returns>
        IDbConnection GetNewConnection();
    }
}
